package com.jyh.dbOrder.dao;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

import com.jyh.config.BaseAction;

@Repository
public class RiskAditLoanDao extends BaseAction{
	@Autowired
	private JdbcTemplate jdbcTemplate;
	
	/**
	 * 获取数据
	 * @return
	 */
	public List<Map<String, Object>> getList(String sql) {
		List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
		return list;
	}
	
	
}
